accel label: Fix RTL handling
authorMatthias Clasen <mclasen@redhat.com>
Sun, 17 Jan 2016 19:08:22 +0000 (14:08 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 17 Jan 2016 19:08:22 +0000 (14:08 -0500)
commit9e2a1685c5d9c519212eee3c6bc4cde1025ee377
tree287637bcc36449ef76a5ac87d95ea2111cdfb703
parentd28959c6dbea441c6c2f5dd2690123cf684eb96a
accel label: Fix RTL handling

The 'mad hack' that GtkAccelLabel used to affect the GtkLabel
draw function broke with the introduction of gadgets, since
the positioning is no longer relative to the widgets' allocation
at the time of the call, but rather to the gadgets allocation.

Instead of coming up with an even madder hack to keep this
working, give the GtkLabel draw function knowledge about accel
labels.

https://bugzilla.gnome.org/show_bug.cgi?id=760663
gtk/gtkaccellabel.c
gtk/gtklabel.c